package com.example.easyexcel.converters.vo;

import lombok.Setter;
import lombok.experimental.Accessors;

@Setter
@Accessors(chain = true)
public class HyperlinkVo {

    private String name;
    private String address;

    public HyperlinkVo() {
    }
    public HyperlinkVo(String address) {
        this.name = address;
        this.address = address;
    }
    public HyperlinkVo(String name, String address) {
        this.name = name;
        this.address = address;
    }

    public String getName() {
        return null==name?address:name;
    }

    public String getAddress() {
        return address;
    }

}
